<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>queryResule</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <link href="/static/css/reset.css" rel="stylesheet">
    <!-- Bootstrap3.3.5 CSS -->
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/queryResult.css" rel="stylesheet">
  </head>
  <body>
  <div class="container">
      <div class="queryResule">
          <h2>高等教育學歷證書查詢結果</h2>
          {{if .History}}
            <div id="tableDiv">
                <table id="table" style="margin: 0 auto;">
                    <tr>
                        <td>姓名</td>
                        <td>出生日期</td>
                        <td>身份證號</td>
                        <td>學校名稱</td>
                        <td>入學日期</td>
                        <td>畢(結)業日期</td>
                        <td>專業</td>
                        <td>層次</td>
                    </tr>
                    {{range .Edu.Historys}}
                        <tr>
                            <td>{{.Education.Name}}</td>
                            <td>{{.Education.BirthDay}}</td>
                            <td>{{.Education.EntityID}}</td>
                            <td>{{.Education.SchoolName}}</td>
                            <td>{{.Education.EnrollDate}}</td>
                            <td>{{.Education.GraduationDate}}</td>
                            <td>{{.Education.Major}}</td>
                            <td>{{.Education.Level}}</td>
                        </tr>
                    {{end}}
                </table>
            </div>
          {{end}}
          <div class="top">
              <div class="left">
                  <p>
                      <span>姓名：</span>
                      <span>{{.Edu.Name}}</span>
                  </p>
                  <p>
                      <span>籍貫：</span>
                      <span>{{.Edu.Place}}</span>
                  </p>
                  <p>
                      <span>民族：</span>
                      <span>{{.Edu.Nation}}</span>
                  </p>
                  <p>
                      <span>入學日期：</span>
                      <span>{{.Edu.EnrollDate}}</span>
                  </p>
                  <p>
                      <span>學校名稱：</span>
                      <span>{{.Edu.SchoolName}}</span>
                  </p>
                  <p>
                      <span>學歷類別：</span>
                      <span>{{.Edu.QuaType}}</span>
                  </p>
                  <p>
                      <span>層次：</span>
                      <span>{{.Edu.Level}}</span>
                  </p>
                  <p>
                      <span>畢(結)業：</span>
                      <span>{{.Edu.Graduation}}</span>
                  </p>
              </div>
              <div class="right">
                  <p>
                      <span>性别：</span>
                      <span>{{.Edu.Gender}}</span>
                  </p>
                  <p>
                      <span>出生日期：</span>
                      <span>{{.Edu.BirthDay}}</span>
                  </p>
                  <p>
                      <span>身份證號：</span>
                      <span>{{.Edu.EntityID}}</span>
                  </p>
                  <p>
                      <span>畢(結)業日期：</span>
                      <span>{{.Edu.GraduationDate}}</span>
                  </p>
                  <p>
                      <span>專業：</span>
                      <span>{{.Edu.Major}}</span>
                  </p>

                  <p>
                      <span>學習形式：</span>
                      <span>{{.Edu.Mode}}</span>
                  </p>
                  <p>
                      <span>學制：</span>
                      <span>{{.Edu.Length}}</span>
                  </p>
                  <p>
                      <span>證書編號：</span>
                      <span>{{.Edu.CertNo}}</span>
                  </p>
              </div>
              <div class="headImg">
                  <img src="{{.Edu.Photo}}" alt="">
              </div>
          </div>
          <p>
              {{if eq .CurrentUser.IsAdmin "T"}}
                  <a href="/modifyPage?certNo={{.Edu.CertNo}}&name={{.Edu.Name}}">修改資訊</a>
              {{end}}
              <a href="/index">返回首頁</a>
          </p>
          <div class="bottom">
              <p><b>聲明</b></p>
              <p>1、  未經學歷資訊當事人同意,不得將本材科用於違背權屬人意願之用速,學歷資訊內容標註“*”號,表示該內容不詳,學歷資訊如有修改,請以網站在線查詢內容為準則。</p>
              <p>2、學歷證書查詢結果僅供查詢人使用,不具有再驗證功能,如需向第三方提供學歷資訊,建議使用具有檢證功能的學歷證書電子註冊備案表。
              </p>
          </div>
      </div>
  </div>
  </body>
</html>
